package cn.kpi.service.sys;

import java.util.List;

import cn.kpi.entity.sys.RoleEntity;

public interface IRoleService {
	public List<RoleEntity> GetRoleList(String where)throws Exception;
	public List<RoleEntity> GetRoleListLimit(String where,String order,int beginrow,int endrow) throws Exception;
	public int GetRoleListCount(String where)throws Exception;
	public int InsertEntity(RoleEntity entity)throws Exception;
	public int UpdateEntity(RoleEntity entity)throws Exception;
	public int DeleteEntity(Long roleid)throws Exception;
	public RoleEntity GetRoleByName(String RoleName)throws Exception;
}
